 
package com.xbongbong.paas.domain.entity;

import com.xbongbong.paas.toolbox.wrap.Entity;
import lombok.ToString;

/**
* @author autoGen
* @time 2018-08-13 10:43:26
*/
@ToString
public class PaasAggRuleEntity extends Entity {

	/** Comment for <code>serialVersionUID</code> */
	private static final long serialVersionUID = 7091951248438493363L;

	//========== properties ==========
	
	/**
	* 主键
	*/
	private Long id;
	/**
	* 公司id
	*/
	private String corpid;
	/**
	* 应用id
	*/
	private Long appId;
	/**
	* 菜单id
	*/
	private Long menuId;
	/**
	* 表单id
	*/
	private Long formId;
	/**
	* 标题
	*/
	private String name;
	/**
	* 报表类型，1为数据表，2为汇总表（图形类待定?）
	*/
	private Integer type;
	/**
	* 权限细则
	*/
	private String permission;
	/**
	* 列表头
	*/
	private String colTitle;
	/**
	* 行表头(相当于原来的分组字段)
	*/
	private String rowTitle;
	/**
	* 指标
	*/
	private String sumAttr;
	/**
	* 表头冻结
	*/
	private Integer frozenAttr;
	/**
	* 联动 （关联的报表id）
	*/
	private Long linkId;
	/**
	* 数据来源 （关联表单,以竖线"|"分割）
	*/
	private String relateId;
	/**
	* 多表关联字段（可为空）
	*/
	private String relateAttr;
	/**
	* 筛选条件
	*/
	private String filterAttr;
	/**
	* 位置信息
	*/
	private String position;
	/**
	 * 创建者id
	 */
	private String creatorId;
	/**
	* 创建时间时间戳
	*/
	private Long addTime;
	/**
	* 更新时间时间戳
	*/
	private Long updateTime;
	/**
	* 删除标记
	*/
	private Integer del;

	public PaasAggRuleEntity() {
		del = 0;
	}
	//========== getters and setters ==========


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getCorpid() {
		return corpid;
	}
	
	public void setCorpid(String corpid) {
		this.corpid = corpid;
	}
	public Long getFormId() {
		return formId;
	}
	
	public void setFormId(Long formId) {
		this.formId = formId;
	}
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	public Integer getType() {
		return type;
	}
	
	public void setType(Integer type) {
		this.type = type;
	}
	public String getPermission() {
		return permission;
	}
	
	public void setPermission(String permission) {
		this.permission = permission;
	}
	public String getColTitle() {
		return colTitle;
	}
	
	public void setColTitle(String colTitle) {
		this.colTitle = colTitle;
	}
	public String getRowTitle() {
		return rowTitle;
	}
	
	public void setRowTitle(String rowTitle) {
		this.rowTitle = rowTitle;
	}
	public String getSumAttr() {
		return sumAttr;
	}
	
	public void setSumAttr(String sumAttr) {
		this.sumAttr = sumAttr;
	}
	public Integer getFrozenAttr() {
		return frozenAttr;
	}
	
	public void setFrozenAttr(Integer frozenAttr) {
		this.frozenAttr = frozenAttr;
	}
	public Long getLinkId() {
		return linkId;
	}
	
	public void setLinkId(Long linkId) {
		this.linkId = linkId;
	}
	public String getRelateAttr() {
		return relateAttr;
	}
	
	public void setRelateAttr(String relateAttr) {
		this.relateAttr = relateAttr;
	}
	public String getFilterAttr() {
		return filterAttr;
	}
	
	public void setFilterAttr(String filterAttr) {
		this.filterAttr = filterAttr;
	}
	public String getCreatorId() {
		return creatorId;
	}
	
	public void setCreatorId(String creatorId) {
		this.creatorId = creatorId;
	}
	public Long getAddTime() {
		return addTime;
	}
	
	public void setAddTime(Long addTime) {
		this.addTime = addTime;
	}
	public Long getUpdateTime() {
		return updateTime;
	}
	
	public void setUpdateTime(Long updateTime) {
		this.updateTime = updateTime;
	}
	public Integer getDel() {
		return del;
	}
	
	public void setDel(Integer del) {
		this.del = del;
	}

	public Long getAppId() {
		return appId;
	}

	public void setAppId(Long appId) {
		this.appId = appId;
	}

	public Long getMenuId() {
		return menuId;
	}

	public void setMenuId(Long menuId) {
		this.menuId = menuId;
	}

	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public String getRelateId() {
		return relateId;
	}

	public void setRelateId(String relateId) {
		this.relateId = relateId;
	}
}

